<p>
    <a href="<?= $this->attr->getUrl('add_item') ?>"><?= $this->attr->getLabel('add_item') ?></a>
</p>
<p>
    <table>
        <tr>
            <th>ID</th>
            <th>Значение</th>
            <th>Действия</th>
        </tr>
    <? foreach ($this->items as $item) : ?>
        <tr>
            <td><?= $item['id'] ?></td>
            <td><a href="<?= $item->getUrl('edit') ?>"><?= $item['value'] ?></a></td>
            <td>
                <? foreach ($item->getUrl() as $key => $url) : ?>
                    <a href="<?= $url ?>"><?= $item->getLabel($key) ?></a><br/>
                <? endforeach ?>
            </td>
        </tr>
    <? endforeach ?>
    </table>
</p>
<p>
    <a href="<?= $this->attr->getUrl('backurl') ?>"><?= $this->attr->getLabel('backurl') ?></a>
</p>